package camelinaction.controller;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

//import org.springframework.web.bind.annotation.RestController;
//
////http://localhost:8080/registerAndLogin
@RestController
@RequestMapping("/")
public class HelloController {


    @RequestMapping(value= "/registerAndLogin",method= RequestMethod.GET)
    public String registerAndLogin() {
        return  "hello world,SpringBoot ";
    }


}

